<?php
/**
 * Created by PhpStorm.
 * User: Administrator
 * Date: 2016/10/21 0021
 * Time: 17:23
 */
use app\assets\AppAsset;
use yii\helpers\Html;
use yii\widgets\LinkPager;
?>
<link href="../web/css/tmlog.css" type="text/css" rel="stylesheet">
<div id="hezi">

</div>
<div id="right">
    <div id="public">
        <h2>最新公告</h2>
        <ul>
            <?php foreach ($countries as $country):?>
                <li>
                    <?=Html::encode(" ({$country->id}){$country->title}")?>;
                    <?=$country->pub_time?>
                    <?=$country->pub_time?>
                </li>
            <?php endforeach; ?>
        </ul>
    </div>
    <div id="pagesize">
        <span class="pagesize"><?=LinkPager::widget(['pagination' => $pagination ,'firstPageLabel' => '首页',
                'nextPageLabel' => '下一页', 'prevPageLabel' => '上一页','lastPageLabel' => '尾页'])?></span>
    </div>
</div>


